package com.jojo.bubble.service;

import com.jojo.bubble.entity.Agent;
import com.jojo.bubble.entity.Dev;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 设备表(Dev)表服务接口
 *
 * @author jojo
 * @since 2023-07-21 04:47:29
 */
public interface DevService {
    int count(Dev record);

    int insert(Dev record);

    int update(Dev record);

    int updateDevTypeByCode(Dev record);

    Dev getInfo(int id);
    List<Dev> queryAllByLimit(Dev dev, @Param("pageable") Pageable pageable);

    List<Dev> getList(Dev record);

    int delete(int id);

    int checkDev(Dev dev);

    Dev queryByCode(String code);

    int cleanDev(String k);
}
